package com.neu.wangweili.service;

import com.neu.wangweili.dao.W_DorInfoDao;

import java.util.List;
import java.util.Map;

public class W_DorService {
    private W_DorInfoDao w_dorInfoDao=null;
    public W_DorService(){
        w_dorInfoDao=new W_DorInfoDao();
    }
//    查询所有的楼号
    public List<Map<String,Object>>findAllBuild(){
        List<Map<String,Object>>list=null;
        list=w_dorInfoDao.findAllDor();
        return list;
    }
    public List<Map<String,Object>> findByBuild(Object...obj){
        List<Map<String,Object>> list=null;
        list=w_dorInfoDao.findByBuild(obj);
        return list;
    }
}
